transformation of stimulus function